package com.example.dllo.my36kr.model;

import java.util.List;

/**
 * 新闻界面的轮播图解析
 * Created by CPC_272 on 16/8/16.
 */
public class NewsBannerBean {

    /**
     * code : 0
     * data : {"pics":[{"action":"web","imgUrl":"https://krplus-pic.b0.upaiyun.com/201608/11/2190a05c908bf5683727ed915f47ea7a.jpg","location":"https://z.36kr.com/project/188","title":"股权"},{"action":"web","imgUrl":"https://krplus-pic.b0.upaiyun.com/201608/04/8b4be1594e48c4d8836ce922ae2faa45.jpg","location":"http://www.huodongxing.com/event/5346528719200","title":"华兴"},{"action":"web","imgUrl":"https://krplus-pic.b0.upaiyun.com/201608/05/9ed1902111e2dc6e00b2122a7750cf7d.jpg","location":"http://chuang.36kr.com/huodong#/activityApply/details/410","title":"wise"},{"action":"web","imgUrl":"https://krplus-pic.b0.upaiyun.com/201608/12/bb680c24afd460dee1814a69b36cb2a7.jpg","location":"http://www.huodongxing.com/event/8347248012500","title":"BD"},{"action":"web","imgUrl":"https://krplus-pic.b0.upaiyun.com/201608/05/1d141a34d63fa476d7cca05b65c16332.jpg","location":"http://h5.welian.com/event/i/eyJhaWQiOjE1MzQyfQ==","title":"BAT"}]}
     * msg : 操作成功！
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * action : web
         * imgUrl : https://krplus-pic.b0.upaiyun.com/201608/11/2190a05c908bf5683727ed915f47ea7a.jpg
         * location : https://z.36kr.com/project/188
         * title : 股权
         */

        private List<PicsBean> pics;

        public List<PicsBean> getPics() {
            return pics;
        }

        public void setPics(List<PicsBean> pics) {
            this.pics = pics;
        }

        public static class PicsBean {
            private String action;
            private String imgUrl;
            private String location;
            private String title;

            public String getAction() {
                return action;
            }

            public void setAction(String action) {
                this.action = action;
            }

            public String getImgUrl() {
                return imgUrl;
            }

            public void setImgUrl(String imgUrl) {
                this.imgUrl = imgUrl;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }
}
